package com.itheima.example;

import java.io.*;

public class Example07 {
    public static void main(String[] args) throws Exception {
        FileWriter fileWriter = new FileWriter("write.txt", true);
        String s = "HelloWorld";
        fileWriter.write(s);
        fileWriter.close();
    }
}
